package com.bw.service;

import com.bw.dao.FastFoodDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author 小郭同学
 * * @date 2025/2/17
 */
@Service
public class FastFoodServiceImp implements FastFoodService{
    @Autowired
    FastFoodDao fastFoodDao;

    @Override
    public List<Map> ratingCount() {
        return fastFoodDao.ratingCount();
    }

    @Override
    public List<Map> amountSum() {
        return fastFoodDao.amountSum();
    }

    @Override
    public List<Map> promotionSum() {
        return fastFoodDao.promotionSum();
    }

    @Override
    public List<Map> shopRank() {
        return fastFoodDao.shopRank();
    }
}
